header {
    padding: 0 40px;
    background: var(--vt-c-bg);
    box-shadow: 0 2px 8px #f0f1f2;
}

.light header {
    border-bottom: 1px solid var(--vt-c-divider-light);
    box-shadow: unset;
}

.page-logo {
    cursor: pointer;
}

.title {
    margin-left: 10px;
    font-size: 18px;
    font-weight: 600;
    background: linear-gradient(315deg, var(--hover-color) 15%, var(--red-color));
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tabbar-list {
    margin-left: 40px;
}

.tabbar-list li {
    cursor: pointer;
    user-select: none;
    position: relative;
    height: var(--vt-nav-height);
    padding-right: 12px;
    padding-left: 12px;
    line-height: var(--vt-nav-height);
    color: var(--vt-c-text-1);
}

.tabbar-list li::after {
    content: "";
    position: absolute;
    top: 0;
    inset: 0 12px auto;
    margin: 0 -5px;
    border-top: 4px solid transparent;
    transition: border-color .7s;
}

.tabbar-list li.active::after {
    border-color: var(--hover-color);
}

.tabbar-list li:hover::after {
    border-color: var(--hover-color);
}

.page-info {
    gap: 20px;
    color: var(--vt-c-text-1);
}

.version {
    font-size: 14px;
    font-weight: 400;
}

.github span {
    cursor: pointer;
    display: inline-block;
    width: 25px;
    height: 25px;
    background-image: url('../images/github.png');
    background-size: cover;
}

.light .github span {
    background-image: url('../images/github_light.png');
}

.vt-switch {
    cursor: pointer;
    position: relative;
    display: block;
    flex-shrink: 0;
    width: 40px;
    height: 22px;
    margin-top: calc((var(--vt-nav-height) - 22px) / 2);
    margin-right: 12px;
    padding: 0;
    background-color: var(--vt-c-bg-mute);
    border: 1px solid var(--vt-c-divider);
    border-radius: 11px;
    transition: border-color .25s, background-color .25s;
}

.vt-switch:hover {
    border-color: var(--vt-c-gray);
}

.vt-switch-icon {
    position: relative;
    overflow: hidden;
    display: block;
    width: 18px;
    height: 18px;
    background-color: var(--vt-c-white);
    border-radius: 50%;
    transition: all .25s;
}

.light .vt-switch-icon {
    transform: translate(18px);
    background-color: var(--vt-c-black);
}

.light .vt-switch-icon img+img {
    display: none;
}

.vt-switch-icon img {
    position: absolute;
    top: 1.5px;
    left: 1.5px;
    width: 15px;
    height: 15px;
}

.select-box {
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    white-space: nowrap;
    transition: color .25s;
}

.select-box:hover .select-flyout {
    transform: translateY(0) !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.header-nav-select {
    padding: 0 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--vt-c-text-1);
}

.header-nav-select:hover {
    color: var(--vt-c-text-2);
}

.select-flyout {
    position: absolute;
    top: calc(var(--vt-nav-height) / 2 + 15px);
    right: 0;
    transform: translateY(-4px);
    overflow: auto;
    max-width: 250px;
    max-height: calc(90vh - var(--vt-nav-height));
    padding: 12px 0;
    visibility: hidden;
    opacity: 0;
    background: var(--vt-c-bg);
    border: 1px solid transparent;
    border-radius: 8px;
    box-shadow: var(--vt-shadow-3);
    transition: opacity .25s, visibility .25s, transform .25s, background-color .5s;
}

.light .select-flyout {
    border: 1px solid var(--vt-c-divider-light);
    box-shadow: var(--vt-shadow-1);
}

.select-flyout-item {
    display: block;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 400;
    line-height: 28px;
    color: var(--vt-c-text-1);
    white-space: nowrap;
    transition: color .25s;
}

.select-flyout-item-active {
    color: var(--hover-color);
}

.select-flyout-item:hover {
    color: var(--hover-color);
}

.vt-flyout-button-text-icon {
    width: 14px;
    height: 14px;
    margin-left: 4px;
    fill: currentcolor;
}